package com.twohand.admin.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.twohand.admin.Entity.RoleMenu;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Component;

@Component
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    @Delete("delete from role_menu where role_id = #{id}")
    Integer deleteByRoleId(Integer id);
}
